package com.ruoyi.zsyh.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 整机服务订单对象 zsyh_electric_order
 * 
 * @author yuexl
 * @date 2022-03-11
 */
public class ZsyhElectricOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String userName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String userPhone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String userAddress;

    /** 服务类型（1安装2清洗3保修4移机5家电回收6投诉7咨询） */
    @Excel(name = "服务类型", readConverterExp = "1=安装2清洗3保修4移机5家电回收6投诉7咨询")
    private String serviceTypeId;

    /** 预约单状态 0未处理 1处理中 2已处理 3已取消 */
    @Excel(name = "预约单状态 0未处理 1处理中 2已处理 3已取消")
    private String orderState;

    /** 保修数量 */
    @Excel(name = "保修数量")
    private Long orderNumber;

    /** 故障说明 */
    @Excel(name = "故障说明")
    private String faultComment;

    /** 订单备注（后台） */
    @Excel(name = "订单备注", readConverterExp = "后=台")
    private String cancelRemark;

    /** 上传图片 多个用|隔开 */
    @Excel(name = "上传图片 多个用|隔开")
    private String orderImage;

    /** 购买日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buyTime;

    /** 购买票据 */
    @Excel(name = "购买票据")
    private String buyTicket;

    /** 产品条码 */
    @Excel(name = "产品条码")
    private String electricCode;

    /** 支付费用 */
    @Excel(name = "支付费用")
    private String payMoney;

    /** 支付费用凭证 */
    @Excel(name = "支付费用凭证")
    private String payImages;

    /** 备注 */
    @Excel(name = "备注")
    private String orderRemark;

    private String userAreaId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }
    public void setServiceTypeId(String serviceTypeId) 
    {
        this.serviceTypeId = serviceTypeId;
    }

    public String getServiceTypeId() 
    {
        return serviceTypeId;
    }
    public void setOrderState(String orderState) 
    {
        this.orderState = orderState;
    }

    public String getOrderState() 
    {
        return orderState;
    }
    public void setOrderNumber(Long orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber() 
    {
        return orderNumber;
    }
    public void setFaultComment(String faultComment) 
    {
        this.faultComment = faultComment;
    }

    public String getFaultComment() 
    {
        return faultComment;
    }
    public void setCancelRemark(String cancelRemark) 
    {
        this.cancelRemark = cancelRemark;
    }

    public String getCancelRemark() 
    {
        return cancelRemark;
    }
    public void setOrderImage(String orderImage) 
    {
        this.orderImage = orderImage;
    }

    public String getOrderImage() 
    {
        return orderImage;
    }
    public void setBuyTime(Date buyTime) 
    {
        this.buyTime = buyTime;
    }

    public Date getBuyTime() 
    {
        return buyTime;
    }
    public void setBuyTicket(String buyTicket) 
    {
        this.buyTicket = buyTicket;
    }

    public String getBuyTicket() 
    {
        return buyTicket;
    }
    public void setElectricCode(String electricCode) 
    {
        this.electricCode = electricCode;
    }

    public String getElectricCode() 
    {
        return electricCode;
    }
    public void setPayMoney(String payMoney) 
    {
        this.payMoney = payMoney;
    }

    public String getPayMoney() 
    {
        return payMoney;
    }
    public void setPayImages(String payImages) 
    {
        this.payImages = payImages;
    }

    public String getPayImages() 
    {
        return payImages;
    }
    public void setOrderRemark(String orderRemark) 
    {
        this.orderRemark = orderRemark;
    }

    public String getOrderRemark() 
    {
        return orderRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("userAddress", getUserAddress())
            .append("serviceTypeId", getServiceTypeId())
            .append("orderState", getOrderState())
            .append("orderNumber", getOrderNumber())
            .append("faultComment", getFaultComment())
            .append("cancelRemark", getCancelRemark())
            .append("orderImage", getOrderImage())
            .append("buyTime", getBuyTime())
            .append("buyTicket", getBuyTicket())
            .append("electricCode", getElectricCode())
            .append("payMoney", getPayMoney())
            .append("payImages", getPayImages())
            .append("orderRemark", getOrderRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getUserAreaId() {
        return userAreaId;
    }

    public void setUserAreaId(String userAreaId) {
        this.userAreaId = userAreaId;
    }
}
